package office.stock.messaging;

import java.util.Collection;

public interface SubscribersRegistry {

    void addSubscriber(WebsocketSubscriber subscriber);

    void removeSubscriber(String id);

    Collection<WebsocketSubscriber> getAll();

}